<template>
  <div>
    {{ helloStr }}
  </div>
</template>

<script setup lang="ts">
import {useMsgStore} from '@/stores/message'
import {storeToRefs} from 'pinia'

let msgStore = useMsgStore()
let {helloStr} = storeToRefs(msgStore)
</script>

<style scoped lang="scss">
div {
  background-color: $blue;
  transition: transform 1s;
}
</style>